import * as API from "@/api/api";

export default {

    getHomeSignProject: params => {
        return API.POST("/user/getHomeSignProject", params, null, 1);
    },

    getHomeMonth: params => {
        return API.POST("/user/getHomeMonth", params, null, 1);
    },
    getHomeYear: params => {
        return API.POST("/user/getHomeYear", params, null, 1);
    },


    getBusinessHomeMonth: params => {
        return API.POST("/user/getBusinessHomeMonth", params, null, 1);
    },
    getChildrenList: params => {
        return API.POST("/user/getChildrenList", params, null, 1);
    },
    getBusinessHomeMonthList: params => {
        return API.POST("/user/getBusinessHomeMonthList", params, null, 1);
    },
    getBusinessPerformanceList: params => {
        return API.POST("/user/getBusinessPerformanceList", params, null, 1);
    },

    doExportOrder: params => {
        return API.POSTFILE("/user/doExportOrder", params, "application/json", true);
    },

    doExportBusiness: params => {
        return API.POSTFILE("/user/doExportBusiness", params, "application/json", true);
    },
    
    doExportAreaBusiness: params => {
        return API.POSTFILE("/user/doExportAreaBusiness", params, "application/json", true);
    },

    doExportTotalPersonProfit: params => {
        return API.POSTFILE("/user/doExportTotalPersonProfit", params, "application/json", true);
    },
    doExportPerformanceList: params => {
        return API.POSTFILE("/user/doExportPerformanceList", params, "application/json", true);
    },

    doEditSomeProjectPrice: params => {
        return API.POST("/user/doEditSomeProjectPrice", params, null, 1);
    },
    
};
